package cbc.dao.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TCompany entity. @author MyEclipse Persistence Tools
 */

public class TCompany implements java.io.Serializable {

	// Fields

	private Integer companyId;
	private String companyName;
	private String companyaddress;
	private Date setUpDate;
	private Set<TDoctor> doctors = new HashSet<TDoctor>();

	// Constructors

	/** default constructor */
	public TCompany() {
	}

	/** full constructor */
	public TCompany(String companyName, String companyaddress, Date setUpDate) {
		this.companyName = companyName;
		this.companyaddress = companyaddress;
		this.setUpDate = setUpDate;
		
	}

	// Property accessors

	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyaddress() {
		return this.companyaddress;
	}

	public void setCompanyaddress(String companyaddress) {
		this.companyaddress = companyaddress;
	}

	public Date getSetUpDate() {
		return this.setUpDate;
	}

	public void setSetUpDate(Date setUpDate) {
		this.setUpDate = setUpDate;
	}

	public Set<TDoctor> getDoctors() {
		return doctors;
	}

	public void setDoctors(Set<TDoctor> doctors) {
		this.doctors = doctors;
	}

	

	
}